const Router = require('koa-router')
const categoryRouter = new Router({ prefix: '/category' })
const {
  getRecommendData,
  getCategoryData
} = require('../controller/category.controller')

categoryRouter.get('/recommend', getRecommendData)
categoryRouter.get('/all', getCategoryData)

module.exports = categoryRouter